<template>
	<view class="demo">
		<view class="tops">
		<view class="tops_left">
			<p style="margin-left: 3vw;font-size: 4vw;">钱包余额(元)</p>
			<h3 style="margin-left: 3vw;font-size: 5vw;">25.00</h3>
		</view>
		<view class="tops_right">
			<p style="margin-left: 3vw;font-size: 4vw;">累计充值余额(元)</p>
			<h3 style="margin-left: 3vw;font-size: 5vw;">500.00</h3>
		</view>
		</view>
		<p style="width: 90%;height: 5vw; color: #ccc;margin-top: 5vw;">2024-10-19 周六</p>
		<view class="kous">
			<view class="kous_item">
				<view class="item_left">
					<h4 style="margin-top: 3vw;margin-left: 3vw;">购买扣款</h4>
					<p style="margin-top: 2vw;margin-left: 3vw;color: #ccc;font-size: 3.5vw;">20:43:24</p>
				</view>
				<view class="item_right">
					<h4 style="margin-top: 3vw;margin-right: 3vw;">-6.00</h4>
					<p style="margin-top: 2vw;margin-right: 3vw;color: #ccc;font-size: 3.5vw;">钱包余额￥4.00</p>
				</view>
			</view>
			<view class="kous_item">
				<view class="item_left">
					<h4 style="margin-top: 3vw;margin-left: 3vw;">购买扣款</h4>
					<p style="margin-top: 2vw;margin-left: 3vw;color: #ccc;font-size: 3.5vw;">20:43:24</p>
				</view>
				<view class="item_right">
					<h4 style="margin-top: 3vw;margin-right: 3vw;">-6.00</h4>
					<p style="margin-top: 2vw;margin-right: 3vw;color: #ccc;font-size: 3.5vw;">钱包余额￥4.00</p>
				</view>
			</view>
			<view class="kous_item">
				<view class="item_left">
					<h4 style="margin-top: 3vw;margin-left: 3vw;">购买扣款</h4>
					<p style="margin-top: 2vw;margin-left: 3vw;color: #ccc;font-size: 3.5vw;">20:43:24</p>
				</view>
				<view class="item_right">
					<h4 style="margin-top: 3vw;margin-right: 3vw;">-6.00</h4>
					<p style="margin-top: 2vw;margin-right: 3vw;color: #ccc;font-size: 3.5vw;">钱包余额￥4.00</p>
				</view>
			</view>
			<view class="kous_item">
				<view class="item_left">
					<h4 style="margin-top: 3vw;margin-left: 3vw;">购买扣款</h4>
					<p style="margin-top: 2vw;margin-left: 3vw;color: #ccc;font-size: 3.5vw;">20:43:24</p>
				</view>
				<view class="item_right">
					<h4 style="margin-top: 3vw;margin-right: 3vw;">-6.00</h4>
					<p style="margin-top: 2vw;margin-right: 3vw;color: #ccc;font-size: 3.5vw;">钱包余额￥4.00</p>
				</view>
			</view>
			<view class="kous_item">
				<view class="item_left">
					<h4 style="margin-top: 3vw;margin-left: 3vw;">购买扣款</h4>
					<p style="margin-top: 2vw;margin-left: 3vw;color: #ccc;font-size: 3.5vw;">20:43:24</p>
				</view>
				<view class="item_right">
					<h4 style="margin-top: 3vw;margin-right: 3vw;">-6.00</h4>
					<p style="margin-top: 2vw;margin-right: 3vw;color: #ccc;font-size: 3.5vw;">钱包余额￥4.00</p>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>
		.demo{
		width: 100vw;
		height: 100vh;
		background-color: #f4f5f7;
		display: flex;
		flex-direction: column;
		align-items: center;
		overflow: scroll;	
		}
		.tops{
			width: 90%;
			height: 20vw;
			background-color:#2c2c31;
			border-radius: 5vw;
			display: flex;
		}
		.tops_left{
			width: 50%;
			height: 15vw;
			margin-top: 3vw;
			border-right: 1px solid #ccc;
			color: #ffffff;
		}
		.tops_right{
			width: 50%;
			height: 15vw;
			margin-top: 3vw;
			/* border-right: 1px solid #ccc; */
			color: #ffffff;
		}
		.kous{
			width: 90%;
			height: 90vw;
			margin-top: 5vw;
			background-color: #ffffff;
			border-radius: 5vw;
			overflow: scroll;
		}
		.kous_item{
			
			width: 100%;
			height: 18vw;
			border-bottom: 1px solid #ccc;
			display: flex;
		}
		.item_left{
			width: 60%;
			height: 100%;
			font-size: 4vw;
		}
		.item_right{
			width: 40%;
			height: 100%;
			text-align: right;
		}
</style>
